#!/bin/bash
mkdir $1
vi $1/$1.c
mkfs="$1/Makefile"
echo "$1:$1.c">$mkfs
echo "\tgcc -g -o $1 $1.c">>$mkfs
echo "\tmake run">>$mkfs
echo "run:">>mkfs
echo "./$1">>mkfs
cd $1
make
